package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

/**
 * @author: louk
 * @Description:工位信息Pojo
 * @date: 2019/11/14 17:23
 *
 */

public class Station extends BasePojo {
    /**
     * 工位id
     */
    private Integer stationId;
    /**
     * 工位编码
     */
    private String stationCode;
    /**
     * 工位名称
     */
    private String stationName;
    /**
     * 工序id
     */
    private Integer proId;
    /**
     * 工位类型id
     */
    private Integer stationTypeId;
    /**
     * 产线id
     */
    private Integer productlineId;
    /**
     * 车间id
     */
    private Integer workshopId;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /**
     * @author: louk
     * @Description:以上是数据库定义的字段,以下是衍生的字段
     * @date: 2019/11/14 17:25
     *
     */
    /**
     * 工位类型名称
     * @return
     */
    private String stationTypeName;
    /**
     * 产线编码
     */
    private String productlineCode;
    /**
     * 产线名称
     */
    private String productlineName;
    /**
     * 车间编码
     */
    private String workshopCode;
    /**
     * 车间名称
     */
    private String workshopName;
    //状态名称
    private String dataStateName;

    public String getStationTypeName() {
        return stationTypeName;
    }

    public void setStationTypeName(String stationTypeName) {
        this.stationTypeName = stationTypeName;
    }

    public String getProductlineCode() {
        return productlineCode;
    }

    public void setProductlineCode(String productlineCode) {
        this.productlineCode = productlineCode;
    }

    public String getProductlineName() {
        return productlineName;
    }

    public void setProductlineName(String productlineName) {
        this.productlineName = productlineName;
    }

    public String getWorkshopCode() {
        return workshopCode;
    }

    public void setWorkshopCode(String workshopCode) {
        this.workshopCode = workshopCode;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public String getDataStateName() {
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode == null ? null : stationCode.trim();
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getStationTypeId() {
        return stationTypeId;
    }

    public void setStationTypeId(Integer stationTypeId) {
        this.stationTypeId = stationTypeId;
    }

    public Integer getProductlineId() {
        return productlineId;
    }

    public void setProductlineId(Integer productlineId) {
        this.productlineId = productlineId;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Station() {
    }

    public Station(String stationCode, String stationName, String stationTypeName,String productlineName,String remark) {
        this.stationCode = stationCode;
        this.stationName = stationName;
        this.stationTypeName = stationTypeName;
        this.productlineName=productlineName;
        this.remark=remark;
    }
}